package org.panxiong.openapi.model;

import java.io.Serializable;
import java.util.List;

/**
 * 方法模型
 */
public class MethodModel implements Serializable {

    // 内容类型
    private String contentType;

    // 方法名
    private String name;

    // 类映射信息
    private MappingMode mapping;

    // 参数信息
    private List<ParameterModel> parameters;

    // 结果信息
    private ResultModel result;

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public MappingMode getMapping() {
        return mapping;
    }

    public void setMapping(MappingMode mapping) {
        this.mapping = mapping;
    }

    public List<ParameterModel> getParameters() {
        return parameters;
    }

    public void setParameters(List<ParameterModel> parameters) {
        this.parameters = parameters;
    }

    public ResultModel getResult() {
        return result;
    }

    public void setResult(ResultModel result) {
        this.result = result;
    }
}
